@import "../../scss/variables.scss";

.app-right-container {
    background: $main-background;
    border-top-left-radius: 4px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .app-right {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

.common-page {
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    // overflow-y: scroll;
    overflow-x: hidden;
    .container {
        margin: 0 auto;
        .filter-container {
            padding-left: 10px;
            display: flex;
            .filterleft {
                flex: 1;
                max-height: 31px;
                overflow: hidden;
                &.expand {
                    max-height: inherit;
                }
            }
            .filterright {
                margin-top: 5px;
                .expand-filter {
                    display: flex;
                    align-items: center;
                    line-height: 26px;
                    font-size: 12px;
                    height: 26px;
                    padding: 0 15px;
                    color: $main-color-lighter;
                    background: $lighter-background;
                    border-radius: 13px;
                    cursor: pointer;
                    .material-icons {
                        transition: transform 0.5s;
                        display: block;
                        margin-left: 3px;
                    }
                    &.active {
                        color: $active-color;
                        .material-icons {
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }
        .devider {
            margin: 10px 0 20px;
            height: 1px;
            background: #34363a;
        }
        .top-bar {
            display: flex;
            color: $main-color-darker;
            margin: 10px 0;
            .left {
                .piece {
                    margin: 0 5px;
                    padding: 3px 10px;
                    cursor: pointer;
                    &:hover {
                        color: $main-color;
                    }
                    &.active {
                        color: $main-color;
                        border-radius: 20px;
                        background: $lighter-background;
                    }
                }
            }
            .right {
                flex: 1;
                display: flex;
                justify-content: flex-end;
                .number {
                    padding: 0 5px;
                    color: $main-color-lighter;
                }
            }
        }
        .videos-container {
            display: flex;
            flex-wrap: wrap;
        }
    }

    .loading-container {
        font-size: 12px;
        z-index: 1;
        width: 100%;
        color: $active-color;
        display: flex;
        height: 50px;
        justify-content: center;
        align-items: center;
        background: rgba(58, 60, 64, 0.9);
        display: none;
        &.active {
            display: flex;
        }
        .loading-icon {
          display: inline-block;
          margin-right: 5px;
        }
      }
}